package com.xqboss.apps.enums.sys;

import com.xqboss.common.enums.BaseEnum;

/**
 * 推送消息类型
 * @author Administrator
 * @date 2023/8/17
 */
public enum PushJumpEnum implements BaseEnum<Integer> {

    NONE(0, "无"),
    BOX_DETAIL(1, "跳转箱子详情"),
    PUNCH(2, "跳转打卡"),
    WEB(3, "跳转外部链接"),
    PAGE(4, "跳转内部页面")
    ;

    private final Integer value;
    private final String msg;

    PushJumpEnum(Integer value, String desc) {
        this.value = value;
        this.msg = desc;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}
